<template>
  <van-nav-bar :title="$route.meta.title"
               left-text="返回"
               left-arrow
               @click-left="onClickLeft">
  </van-nav-bar>
</template>

<script>
export default {
  name: 'Header',
  methods: {
    onClickLeft() {
      this.$router.back(-1)
    }
  }
}
</script>

<style scoped lang="stylus"></style>
